package com.enterprise.service.impl;


import com.enterprise.dao.CaseDao;
import com.enterprise.dao.ServersManage;
import com.enterprise.entity.Case;
import com.enterprise.entity.page.PageModel;
import com.enterprise.service.CaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("caseService")
public class CaseServiceImpl extends ServersManage<Case, CaseDao> implements CaseService{
	
	
	@Resource(name="caseDao")
	@Override
	public void setDao(CaseDao dao) {
		// TODO Auto-generated method stub
		this.dao = dao;
	}


	@Override
	public PageModel selectPage(Case cas) {
		return this.dao.selectPage(cas);
	}
}
